package cn.v2tila.rsosa.management.service.serviceImpl;

import cn.v2tila.rsosa.management.entity.MgtPermissionEntity;
import cn.v2tila.rsosa.management.jpa.MgtPermissionJPA;
import cn.v2tila.rsosa.management.service.MgtPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author v2tila on 22:56 2019/2/5
 */
@Service
public class MgtPermissionServiceImpl implements MgtPermissionService {

    @Autowired
    private MgtPermissionJPA mgtPermissionJPA;

    public List<MgtPermissionEntity> findAll() {
        return mgtPermissionJPA.findAll();
    }
}
